<style>
form#noviRadnik{
	width:520px;
}
form#noviRadnik label{
	width:65px;
	display:block;
	float:left;
	padding-top:8px;
	
	text-align:right;
}
form#noviRadnik input[type=text], textarea, select{
	width:150px;
	float:left;
}
form#noviRadnik input[type=text]:disabled{
	color:#000;
	background:#fff;
	border:1px solid #7F9DB9;
}
form#noviRadnik textarea#komentar{
	width:420px;
}
form#noviRadnik legend{
	color:#aaa;
}
form#noviRadnik fieldset{
	border:1px solid #aaa;
}
form#noviRadnik #editRadnikForm{
	padding:5px 0px;
	clear:both;
	
	border:1px solid #aaa;
	background:#ddd;
}
form#noviRadnik #sifra_radnika{
	float:left;
	margin:6px 5px 0px 5px;
	padding:2px 0px;
	display:block;
	font-weight:bolder;
}
form#noviRadnik #fs_adresa_lk{
	display:none;
}
form#noviRadnik a.fs_adresa_switcher{
	float:right;
	margin-top:7px;
}
</style>
<form id="noviRadnik" class="area" method="post" action="javascript:void(0)" onsubmit="saveRadnik(1,this,'{{$curr_page}}','{{$active}}','{{$filter_radnik}}','{{$filter_tel}}')">
<div style="float:left; margin-right:5px;">
<input type="checkbox" name="aktiv" id="aktiv" value=""/>
<label for="aktiv" style="text-align:left; width:auto; padding:4px 0px 0px 0px;">Aktivan</label>
</div>
<input type="hidden" name="id" value="" />
<h2 style="text-align:center; padding-right:30px; margin-bottom:0px;">Novi radnik</h2>
<div id="editRadnikForm">
<fieldset>
	<legend>Lični podaci</legend>
	<!-- Ime i prezime -->
	<label for="ime">ime:</label><input type="text" name="ime" id="ime" value="" />
	<label for="prezime">prezime:</label><input type="text" name="prezime" id="prezime" value="" />
	<br clear="all">
	<!-- JMBG i dat.rodj -->
	<label for="jmbg">JMBG:</label><input maxlength="13" type="text" name="jmbg" id="jmbg" value="" />
	<label for="dat_rodj">dat.rođenja:</label><input style="width:60px;" type="text" name="dat_rodj" id="dat_rodj" value="" />
	<input type="button" class="datePicker" onclick="displayDatePicker('dat_rodj',this)" value="" />
	<br clear="all">
	<!-- BROJ LK i AKTIVAN-->
	<label for="broj_lk">Broj LK:</label><input type="text" name="broj_lk" id="broj_lk" value="" />
	<br clear="all" />
	<!-- UGOVOR START -->
	<label for="ugo_start">Radi od:</label>
	<input type="text" style="width:60px;" maxlength="10" name="ugo_start" id="ugo_start" value="" />
	<input type="button" class="datePicker" onclick="displayDatePicker('ugo_start',this)" />
	<!-- UGOVOR END -->
	<label for="ugo_end" style="width:30px">do:</label>
	<input type="text" style="width:60px;" maxlength="10" name="ugo_end" id="ugo_end" value="" />
	<input type="button" class="datePicker" onclick="displayDatePicker('ugo_end',this)" />
	<br clear="all" />
	<!-- ZIRO RACUNI -->
	<fieldset id="radnik_ziro_racuni">
	  <legend>Žiro računi</legend>
	  <!-- BANKA -->
	  	<div style="float:left; clear:both;">
	  	<label for="banka_0">Banka:</label>
		{{$sve_banke}}
		<label for="ziro_0" style="width:auto">ŽR:</label><input type="text" name="ziro_0" id="ziro_0" value="" />
		<input type="button" class="add" value="+" onClick="dodajBanku(this,1)" style="margin-top:5px;" />
		{{$comment_start_remove_banka}}
		<input type="button" class="add" value="-" onClick="obrisiBanku(this)" style="margin-top:5px;" />
		{{$comment_end_remove_banka}}
		</div>
	</fieldset>
	<!-- ADRESA -->
	<fieldset id="fs_adresa">
	  <legend>Adresa</legend>
	  {{$adresa}}
	  <a class="fs_adresa_switcher" href="javascript:void(0);" onclick="this.parentNode.style.display='none'; document.getElementById('fs_adresa_lk').style.display='block';">lična karta...</a>
	</fieldset>
	<!-- ADRESA LK -->
	<fieldset id="fs_adresa_lk">
	  <legend>Adresa iz lične karte</legend>
	  {{$adresa_lk}}
	  <a class="fs_adresa_switcher" href="javascript:void(0);" onclick="this.parentNode.style.display='none'; document.getElementById('fs_adresa').style.display='block';">stan...</a>
	</fieldset>
	<fieldset>
		<legend>Kontakt</legend>
		<label for="telefoni">Tel.</label><textarea name="telefoni" id="telefoni"></textarea>
		<label for="mobilni">Mob.</label><textarea name="mobilni" id="mobilni"></textarea>
	</fieldset>
</fieldset>
<fieldset>
	<legend>Posao</legend>
	<!-- GRUPA -->
	<label for="grupa">Grupa:</label>
	<select name="grupa" id="grupa">
	  {{%loop start grupa_id}}
	  <option value="{{$grupa_id}}">{{$grupa_name}}</option>
	  {{%loop end}}
	</select>
	<!-- TIP -->
	<label for="tip">Tip:</label>
	<select name="tip" id="tip">
	  {{%loop start tip_id}}
	  <option value="{{$tip_id}}">{{$tip_name}}</option>
	  {{%loop end}}
	</select>
	<br clear="all" />
	<!-- STRUCNA SPREMA -->
	<label for="ss" title="Stručna sprema">Str.sprema:</label>
	<select name="ss" id="ss">
	  {{%loop start ss_id}}
	  <option value="{{$ss_id}}">{{$ss_name}}</option>
	  {{%loop end}}
	</select>
	<!-- RADNI ODNOS -->
	<label for="ro" title="Radni odnos">Rad.odnos:</label>
	<select name="ro" id="ro">
	  {{%loop start ro_id}}
	  <option value="{{$ro_id}}">{{$ro_name}}</option>
	  {{%loop end}}
	</select>
	<br clear="all" />
	<!-- ID CARD -->
	<label for="card_id">ID</label><input type="text" name="card_id" id="card_id" value="" />
</fieldset>
<label for="komentar">Komentar:</label><textarea name="komentar" id="komentar"></textarea><br clear="all" />
</div>
<input type="submit" value="sačuvaj" id="submit" />
<input type="reset" value="poništi" />
</form>